package com.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.sfzy.entity.Search;

import java.util.List;

public interface SearchService {

    int addSearch(Search search);
    int deleteSearch(int id);
    int updateSearch(Search search);
    Search getById(int id);
    PageInfo<Search> getByPage(Search search,int pageNum,int pageSize);
}
